import { createSSRApp } from 'vue'
import { setupStore } from '@/store'
import { setupVConsole } from '@/utils/vconsole'
import App from './App.vue'
import 'uno.css'
import '@/assets/iconfont/iconfont.css'
import '@/assets/styles/index.scss'

export function createApp() {
  setupVConsole()
  const app = createSSRApp(App)
  setupStore(app)
  return {
    app,
  }
}
